package com.hl.card.credit.pub.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hl.card.credit.pub.dao.AbstractDao;
import com.hl.card.credit.pub.dao.PublicExpressLogisticsInfoDao;
import com.hl.card.credit.pub.entity.PublicExpressLogisticsInfo;
import com.hl.card.credit.pub.model.PublicExpressLogisticsInfoModel;

//@Service
public class PublicExpressLogisticsInfoService extends AbstractService<PublicExpressLogisticsInfo, Integer> {

//	@Autowired
	private PublicExpressLogisticsInfoDao<PublicExpressLogisticsInfo, Integer> dao;

	@Override
	protected AbstractDao<PublicExpressLogisticsInfo, Integer> getDao() {
		return dao;
	}

	public void addPublicExpressLogisticsInfoBatch(List<PublicExpressLogisticsInfo> list) {
		dao.addBatch(list);
	}

	public List<PublicExpressLogisticsInfo> queryList(PublicExpressLogisticsInfoModel publicExpressLogisticsInfoModel) {
		// TODO Auto-generated method stub
		return dao.queryList(publicExpressLogisticsInfoModel);
	}

}
